package com.gitee.cirnochat.group.model.vo.resp;

import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.cirnochat.group.model.enums.GroupType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "群组视图对象")
public class GroupVo {
    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 群组UUID
     */
    @Schema(description = "群组UUID" , example = "123e4567e814174000")
    private String groupUuid;

    /**
     * 群主ID
     */
    @Schema(description = "群主ID" , example = "123456789")
    private Long ownerId;

    /**
     * 群名称
     */
    @Schema(description = "群名称" , example = "测试群")
    private String groupName;

    /**
     * 群头像
     */
    @Schema(description = "群头像" , example = "https://example.com/avatar.png")
    private String groupAvatar;

    /**
     * 群描述
     */
    @Schema(description = "群描述" , example = "这是一个测试群")
    private String groupDescription;

    /**
     * 群类型：公开/私密
     */
    @Schema(description = "群类型：公开/私密" , example = "public")
    private GroupType groupType;
}
